<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="stylesheet" href="./CSS/reset.css">
    <meta charset="UTF-8">
    <title>京东图片列表练习</title>
</head>
<style>
    /* .box{
        width: 216px;
        height: 10px;
    }
    .container{
        width: 200px;
        height: 511px;
        background-color:rgb( 244,244,244);
        padding: 8px;
        border: 1px solid #dddddd;
    }
    img{
        width: 200px;
        margin: 3px auto;
    } */
    body{
        /* 设置背景色用于演示 */
        background-color:cadetblue;
    }
    .img-list{
        width: 190px;
        height: 470px;
        overflow: hidden;
        background-color:rgba(247, 247, 247, 1);
        /* 使其在父元素水平居中,仅演示 */
        margin: 100px auto;
    }
    .img-li:not(:last-child){
     margin-bottom: 9px;
    }
    .img-li img{
        width: 190px;
    }
</style>
<body>
    <!-- <div class="box"></div>
    <div class="container">
        <img src="./imgs/商品图片.png" alt="">
        <img src="./imgs/商品图片1.png" alt="">
        <img src="./imgs/商品图片2.png" alt="">
    </div> -->
    <ul class="img-list">
        <li class="img-li"><a href="javascript:;"><img src="./imgs/1.jpg" alt=""></a></li>
        <li class="img-li"><a href="javascript:;"><img src="./imgs/2.jpg" alt=""></a></li>
        <li class="img-li"><a href="javascript:;"><img src="./imgs/3.jpg" alt=""></a></li>
    </ul>
</body>
</html>